import React from 'react';
import { Spin, Icon } from 'antd';
import './styles.less';

const antIcon = <Icon type="loading" style={{ fontSize: 24 }} spin />;

export default () => (
  <div id="nprogress">
    <div className="bar">
      <div className="peg" />
    </div>
    <Spin indicator={antIcon} className="spinner" />
  </div>
);
